package com.hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author animal
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HouseType对象", description="")
public class HouseType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房间类型id表")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "房间类型")
    private String hotelType;

    @ApiModelProperty(value = "类型介绍")
    private String typeContent;

    @ApiModelProperty(value = "类型图片")
    private String typePicture;

    @ApiModelProperty(value = "类型价格")
    private Float typePrice;

    @TableField(exist = false)
    private HoHouse hoHouse;
}
